package com.hzlj.position.locate.service.impl;

import com.fz.common.base.dto.PageParamDTO;
import com.fz.common.base.dto.QueryPageResultDTO;
import com.fz.common.dict.annotation.DictConvert;
import com.hzlj.position.locate.common.dto.reportInspectionArtificial.ReportInspectionArtificialQueryParamDTO;
import com.hzlj.position.locate.common.dto.reportInspectionArtificial.ReportInspectionArtificialWithJzJbxxDTO;
import com.hzlj.position.locate.dao.ReportInspectionArtificialDao;
import com.hzlj.position.locate.service.ReportInspectionArtificialService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
/**
 * 通信联络核查-核查-最新(ReportInspectionArtificial)表服务接口
 *
 * @author lifh
 * @date 2023-08-04 17:23:55
 */
 @Slf4j
 @Service
public class ReportInspectionArtificialServiceImpl  implements ReportInspectionArtificialService {
    @Resource
    private ReportInspectionArtificialDao reportInspectionArtificialDao;
    /**
     * 查询列表：不分页
     */
    @Override
    @DictConvert
    public List<ReportInspectionArtificialWithJzJbxxDTO> listReportInspectionArtificial(ReportInspectionArtificialQueryParamDTO dto){
        return this.reportInspectionArtificialDao.listReportArtificial(dto);
    }
    
    /**
     * 查询列表：分页
     */
    @Override 
    @DictConvert
    public QueryPageResultDTO<ReportInspectionArtificialWithJzJbxxDTO> pageReportInspectionArtificial(ReportInspectionArtificialQueryParamDTO dto, PageParamDTO page){
        return this.reportInspectionArtificialDao.pageReportArtificial(dto,page);
    }
}
